/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const customerRouter = {
  path: '/customer',
  component: Layout,
  redirect: '/customer/customerManage',
  name: 'customer',
  meta: {
    title: '客户管理',
    icon: 'table'
  },
  children: [{
      path: 'accountManage',
      component: () => import('@/views/customerManage/accountManage/index'),
      name: 'accountManage',
      meta: {
        title: '账号管理'
      }
    },
    {
      path: 'baseInfo',
      component: () => import('@/views/customerManage/baseInfo/index'),
      name: 'baseInfo',
      meta: {
        title: '基本信息'
      }
    },
    {
      path: 'contractManage',
      component: () => import('@/views/customerManage/contractManage/index'),
      name: 'contractManage',
      meta: {
        title: '合同管理'
      }
    },
    {
      path: 'contractTemplate',
      component: () => import('@/views/customerManage/contractTemplate/index'),
      name: 'contractTemplate',
      meta: {
        title: '合同模板'
      }
    },


    {
      path: 'customerManage',
      component: () => import('@/views/customerManage/customerManage/index'),
      name: 'customerManage',
      meta: {
        title: '客户管理'
      }
    },
    {
      path: 'positionInfo',
      component: () => import('@/views/customerManage/positionInfo/index'),
      name: 'positionInfo',
      meta: {
        title: '职位信息'
      }
    },
    {
      path: 'projectInfo',
      component: () => import('@/views/customerManage/projectInfo/index'),
      name: 'projectInfo',
      meta: {
        title: '项目信息'
      }
    },
    {
      path: 'taskRelease',
      component: () => import('@/views/customerManage/taskRelease/index'),
      name: 'taskRelease',
      meta: {
        title: '任务发布'
      }
    },

  ]
}
export default customerRouter
